/**
 * 
 */
package com.kovell.profileo.exception;

/**
 * @author SOSSERES
 *
 */
public class ServiceException extends Exception{

	private String errorCode;
	
	/**
	 * 
	 */

//	public ServiceException(String errorCode) {
//		super();
//	}
	
	public ServiceException(String errorCode){ 		
		super();
		this.errorCode = errorCode;
		
		System.out.println("[ServiceException] Error Code: " + errorCode);
	}
	
	public String getErrorCode() {
		return errorCode;
	}


}
